package com.ply.flashsalessystem.entity.vo.activity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author XiaoPan
 * date: 2022/5/10 3:29
 * <p>
 * action:
 */
public class ActivityVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "活动表id")
    @TableId(value = "activity_id", type = IdType.AUTO)
    private Integer activityId;

    @ApiModelProperty(value = "活动名称")
    private String activityName;

    @ApiModelProperty(value = "活动描述")
    private String activityDetail;

    @ApiModelProperty(value = "最低标准  达到最低标准的才可以享受活动")
    private Double minStandard;

    @ApiModelProperty(value = "满减 满多少")
    private Double full;

    @ApiModelProperty(value = "满减 减多少")
    private Double reduced;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "开始时间")
    private Date openTime;

    @ApiModelProperty(value = "关闭时间")
    private Date closeTime;

    @ApiModelProperty(value = "状态:   0表示 未开始 1表示进行中 2表示已结束 3表示异常")
    private Integer status;

    @ApiModelProperty(value = "创建 管理员id")
    private Integer createManageId;

    @ApiModelProperty(value = "是否开启")
    private Integer enabled;
}
